package com.education.expenses.common.dto;

import com.education.expenses.entity.Description;

/**
 * Created with IntelliJ IDEA.
 * User: Blackhard27
 * Date: 08.08.12
 * Time: 15:43
 * To change this template use File | Settings | File Templates.
 */
public class ReceiptDTO {

    private Long id;

    private Description description;

    private Boolean byCash;

    private String paidTo;

    private Long meals;

    private Long lodging;

    private Long personal;

    private Long transportation;

    private Long misc;

    private Long total;

    public ReceiptDTO(long id,
                      Description description,
                      boolean cash,
                      String paidTo,
                      long meals,
                      long lodging,
                      long personal,
                      long transportation,
                      long misc,
                      long total) {
        this.id = id;
        this.description = description;
        this.byCash = cash;
        this.paidTo = paidTo;
        this.meals = meals;
        this.lodging = lodging;
        this.personal = personal;
        this.transportation = transportation;
        this.misc = misc;
        this.total = total;

    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Description getDescription() {
        return description;
    }

    public void setDescription(Description description) {
        this.description = description;
    }

    public Boolean getByCash() {
        return byCash;
    }

    public void setByCash(Boolean byCash) {
        this.byCash = byCash;
    }

    public String getPaidTo() {
        return paidTo;
    }

    public void setPaidTo(String paidTo) {
        this.paidTo = paidTo;
    }

    public Long getMeals() {
        return meals;
    }

    public void setMeals(Long meals) {
        this.meals = meals;
    }

    public Long getLodging() {
        return lodging;
    }

    public void setLodging(Long lodging) {
        this.lodging = lodging;
    }

    public Long getPersonal() {
        return personal;
    }

    public void setPersonal(Long personal) {
        this.personal = personal;
    }

    public Long getTransportation() {
        return transportation;
    }

    public void setTransportation(Long transportation) {
        this.transportation = transportation;
    }

    public Long getMisc() {
        return misc;
    }

    public void setMisc(Long misc) {
        this.misc = misc;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
